<ion-view view-title="我的咨询" hide-tabs="true" hide-back-button="true">
  <ion-nav-bar class="bar-positive nav-bar-container">
      <ion-nav-buttons side="left">
          <button class="button button-clear" ui-sref="web.user-index" nav-direction="back">
              <i class="icon ion-chevron-left" ></i> 返回
          </button>
      </ion-nav-buttons>
  </ion-nav-bar>
  <ion-content class="content has-header ionic-pseudo bgeee" scroll="false">
    <div>
      <div class="button-bar padding" ng-show="state.ones">
        <a class="button button-four button-positive" ng-click="one()">投资分析</a>
        <a class="button button-four button-outline" ng-click="two()">理财规划</a>
        <a class="button button-four button-outline" ng-click="three()">法律咨询</a>
      </div>
      <div class="button-bar padding" ng-show="state.twos">
        <a class="button button-four button-outline" ng-click="one()">投资分析</a>
        <a class="button button-four button-positive" ng-click="two()">理财规划</a>
        <a class="button button-four button-outline" ng-click="three()">法律咨询</a>
      </div>
      <div class="button-bar padding" ng-show="state.threes">
        <a class="button button-four button-outline" ng-click="one()">投资分析</a>
        <a class="button button-four button-outline" ng-click="two()">理财规划</a>
        <a class="button button-four button-positive" ng-click="three()">法律咨询</a>
      </div>
    </div>
    <div ng-if="state.ones">  
    <div class="item row header">
      <div class="col">项目名称</div>
      <div class="col">时间</div>
      <div class="col">状态</div> 
    </div>  
    <div class="item row item-icon-right" ng-repeat="tzfx in tzfxlist" ui-sref="consul-detail({id:tzfx.id,type:'tzfx'})">
      <div class="col">{{tzfx.productName}}</div>
      <div class="col">{{tzfx.createTime | date: 'yyyy-MM-dd'}}</div>
      <div class="col">
        <a ng-if="tzfx.status==0">未处理</a>
        <a ng-if="tzfx.status==1">已处理</a>
      </div>
      <i class="icon fr ion-ios-arrow-right"></i>
    </div>
    </div>

    <div ng-if="state.twos">  
      <div class="item row header">
        <div class="col">时间</div>
        <div class="col">状态</div> 
      </div> 
      <div class="item row item-icon-right" ng-repeat="lcgh in lcghlist" ui-sref="consul-detail({id:lcgh.id,type:'jtlc'})">
        <div class="col">{{lcgh.createTime | date: 'yyyy-MM-dd'}}</div>
        <div class="col">
          <a ng-if="lcgh.status==0">未处理</a>
          <a ng-if="lcgh.status==1">已处理</a>
        </div>
        <i class="icon fr ion-ios-arrow-right"></i>
      </div>      
    </div>  
    <div ng-if="state.threes">  
      <div class="item row header">
        <div class="col">时间</div>
        <div class="col">状态</div> 
      </div> 
      <div class="item row item-icon-right" ng-repeat="law in lawlist" ui-sref="consul-detail({id:law.id,type:'mffl'})">
        <div class="col">{{law.createTime | date: 'yyyy-MM-dd'}}</div>
        <div class="col">
          <a ng-if="law.status==0">未处理</a>
          <a ng-if="law.status==1">已处理</a>
        </div>
        <i class="icon fr ion-ios-arrow-right"></i>
      </div>
    </div>
  </ion-content>
</ion-view>